<div class="title">
  <div class="left">
    我的登录密码
  </div>
  <div class='right'>
    <%= link_to '返回', show_password_user_url(current_user), :method => :get, :remote => true, :class => 'crud back' %>
  </div>
</div>
<%= form_for @user,
  :url => update_password_user_url(@user),
  :remote => true,
  :method => :put do |f| %>
<dl class="grid_15">
<dt class="grid_2">密码：</dt>
<dd class="grid_12">
  <%= f.password_field :encrypted_password, :value =>'', :class => 't', :title => '请输入密码' %>
</dd>
</dl>
<dl class="grid_15">
<dt class="grid_2">确认密码：</dt>
<dd class="grid_12">
  <%= f.password_field :encrypted_password_confirmation, :class => 't', :title => '请输入确认密码' %>
</dd>
</dl>
<div class="grid_5 form_tool">
  <%= f.submit '保存' %>
  <%= link_to '返回', show_password_user_url(current_user), :method => :get, :remote => true, :class => 'button' %>
</div>
<%end%>